/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.kj.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.kj.entity.KjSkill;
import com.jeesite.modules.kj.dao.KjSkillDao;

/**
 * kj_skillService
 * @author hzy
 * @version 2021-07-06
 */
@Service
@Transactional(readOnly=true)
public class KjSkillService extends CrudService<KjSkillDao, KjSkill> {
	
	/**
	 * 获取单条数据
	 * @param kjSkill
	 * @return
	 */
	@Override
	public KjSkill get(KjSkill kjSkill) {
		return super.get(kjSkill);
	}
	
	/**
	 * 查询分页数据
	 * @param kjSkill 查询条件
	 * @param kjSkill.page 分页对象
	 * @return
	 */
	@Override
	public Page<KjSkill> findPage(KjSkill kjSkill) {
		return super.findPage(kjSkill);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param kjSkill
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(KjSkill kjSkill) {
		super.save(kjSkill);
	}
	
	/**
	 * 更新状态
	 * @param kjSkill
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(KjSkill kjSkill) {
		super.updateStatus(kjSkill);
	}
	
	/**
	 * 删除数据
	 * @param kjSkill
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(KjSkill kjSkill) {
		super.delete(kjSkill);
	}
	
}